﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="Web.View.d50_qtxxMenu.Default" %>
<%@ Register Assembly="Ext.Net" Namespace="Ext.Net" TagPrefix="ext" %> 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>d50_qtxx</title>
    <script src="/View/js/Alert.js" type="text/javascript"></script> 
    <script type="text/javascript">
        function SetWinData(index) {
            document.getElementById("Hid").value = d50_qtxx_MainStore.getAt(index).get('zyid');
            
			Txtzybh.setValue(d50_qtxx_MainStore.getAt(index).get('zybh'));
			Txtmzbh.setValue(d50_qtxx_MainStore.getAt(index).get('mzbh'));
			TxtNumzycs.setValue(d50_qtxx_MainStore.getAt(index).get('zycs'));
			Txtdqbm.setValue(d50_qtxx_MainStore.getAt(index).get('dqbm'));
			Txthbh.setValue(d50_qtxx_MainStore.getAt(index).get('hbh'));
			Txtgrbm.setValue(d50_qtxx_MainStore.getAt(index).get('grbm'));
			Txtgrade.setValue(d50_qtxx_MainStore.getAt(index).get('grade'));
			Txtrbh.setValue(d50_qtxx_MainStore.getAt(index).get('rbh'));
			Txtdzbm.setValue(d50_qtxx_MainStore.getAt(index).get('dzbm'));
			Txtzbh.setValue(d50_qtxx_MainStore.getAt(index).get('zbh'));
			Txtcbh.setValue(d50_qtxx_MainStore.getAt(index).get('cbh'));
			Txtzen.setValue(d50_qtxx_MainStore.getAt(index).get('zen'));
			Txtcun.setValue(d50_qtxx_MainStore.getAt(index).get('cun'));
			Txtgldm.setValue(d50_qtxx_MainStore.getAt(index).get('gldm'));
			Txtjgdm.setValue(d50_qtxx_MainStore.getAt(index).get('jgdm'));
			Txtjgmc.setValue(d50_qtxx_MainStore.getAt(index).get('jgmc'));
			Txtusid.setValue(d50_qtxx_MainStore.getAt(index).get('usid'));
			Txtbrlxid.setValue(d50_qtxx_MainStore.getAt(index).get('brlxid'));
			Txtgfbh.setValue(d50_qtxx_MainStore.getAt(index).get('gfbh'));
			Txtbrxm.setValue(d50_qtxx_MainStore.getAt(index).get('brxm'));
			Txtxbid.setValue(d50_qtxx_MainStore.getAt(index).get('xbid'));
			Txtbrnl.setValue(d50_qtxx_MainStore.getAt(index).get('brnl'));
			Txthzgx.setValue(d50_qtxx_MainStore.getAt(index).get('hzgx'));
			Txtcsrq.setValue(d50_qtxx_MainStore.getAt(index).get('csrq'));
			Txtyebz.setValue(d50_qtxx_MainStore.getAt(index).get('yebz'));
			Txthyzkmc.setValue(d50_qtxx_MainStore.getAt(index).get('hyzkmc'));
			Txthyid.setValue(d50_qtxx_MainStore.getAt(index).get('hyid'));
			Txtcsddmc.setValue(d50_qtxx_MainStore.getAt(index).get('csddmc'));
			Txtmzmc.setValue(d50_qtxx_MainStore.getAt(index).get('mzmc'));
			Txtgjid.setValue(d50_qtxx_MainStore.getAt(index).get('gjid'));
			Txtsfzh.setValue(d50_qtxx_MainStore.getAt(index).get('sfzh'));
			Txtgzdw.setValue(d50_qtxx_MainStore.getAt(index).get('gzdw'));
			Txtdwdh.setValue(d50_qtxx_MainStore.getAt(index).get('dwdh'));
			Txtdwyb.setValue(d50_qtxx_MainStore.getAt(index).get('dwyb'));
			Txthkdz.setValue(d50_qtxx_MainStore.getAt(index).get('hkdz'));
			Txthkyb.setValue(d50_qtxx_MainStore.getAt(index).get('hkyb'));
			Txtlxrm.setValue(d50_qtxx_MainStore.getAt(index).get('lxrm'));
			Txtgxid.setValue(d50_qtxx_MainStore.getAt(index).get('gxid'));
			Txtlxdz.setValue(d50_qtxx_MainStore.getAt(index).get('lxdz'));
			Txtlxdh.setValue(d50_qtxx_MainStore.getAt(index).get('lxdh'));
			Txtryksid.setValue(d50_qtxx_MainStore.getAt(index).get('ryksid'));
			Txtryksmc.setValue(d50_qtxx_MainStore.getAt(index).get('ryksmc'));
			Txtrybs.setValue(d50_qtxx_MainStore.getAt(index).get('rybs'));
			Txtrycw.setValue(d50_qtxx_MainStore.getAt(index).get('rycw'));
			Txtrysj.setValue(d50_qtxx_MainStore.getAt(index).get('rysj'));
			Txtrybqid.setValue(d50_qtxx_MainStore.getAt(index).get('rybqid'));
			Txtzkbqid.setValue(d50_qtxx_MainStore.getAt(index).get('zkbqid'));
			Txtcyksid.setValue(d50_qtxx_MainStore.getAt(index).get('cyksid'));
			Txtcyksmc.setValue(d50_qtxx_MainStore.getAt(index).get('cyksmc'));
			Txtcybs.setValue(d50_qtxx_MainStore.getAt(index).get('cybs'));
			Txtcycw.setValue(d50_qtxx_MainStore.getAt(index).get('cycw'));
			Txtcysj.setValue(d50_qtxx_MainStore.getAt(index).get('cysj'));
			TxtNumzyts.setValue(d50_qtxx_MainStore.getAt(index).get('zyts'));
			Txtmzzd.setValue(d50_qtxx_MainStore.getAt(index).get('mzzd'));
			Txtryzd.setValue(d50_qtxx_MainStore.getAt(index).get('ryzd'));
			Txtzdmc.setValue(d50_qtxx_MainStore.getAt(index).get('zdmc'));
			Txtryqzsj.setValue(d50_qtxx_MainStore.getAt(index).get('ryqzsj'));
			Txtzyzt.setValue(d50_qtxx_MainStore.getAt(index).get('zyzt'));
			Txtyzxs.setValue(d50_qtxx_MainStore.getAt(index).get('yzxs'));
			Txtyzzj.setValue(d50_qtxx_MainStore.getAt(index).get('yzzj'));
			Txtqfje.setValue(d50_qtxx_MainStore.getAt(index).get('qfje'));
			Txtfdje.setValue(d50_qtxx_MainStore.getAt(index).get('fdje'));
			Txtbsbl.setValue(d50_qtxx_MainStore.getAt(index).get('bsbl'));
			Txthjje.setValue(d50_qtxx_MainStore.getAt(index).get('hjje'));
			Txtkbje.setValue(d50_qtxx_MainStore.getAt(index).get('kbje'));
			Txtmxhj.setValue(d50_qtxx_MainStore.getAt(index).get('mxhj'));
			Txtetys.setValue(d50_qtxx_MainStore.getAt(index).get('etys'));
			Txtmzys.setValue(d50_qtxx_MainStore.getAt(index).get('mzys'));
			Txthlzt.setValue(d50_qtxx_MainStore.getAt(index).get('hlzt'));
			Txtcwbz.setValue(d50_qtxx_MainStore.getAt(index).get('cwbz'));
			Txtqfjsbz.setValue(d50_qtxx_MainStore.getAt(index).get('qfjsbz'));
			Txtqfjsje1.setValue(d50_qtxx_MainStore.getAt(index).get('qfjsje1'));
			Txtqfjsje.setValue(d50_qtxx_MainStore.getAt(index).get('qfjsje'));
			Txtjssj.setValue(d50_qtxx_MainStore.getAt(index).get('jssj'));
			Txtlsh.setValue(d50_qtxx_MainStore.getAt(index).get('lsh'));
			Txthsx.setValue(d50_qtxx_MainStore.getAt(index).get('hsx'));
			Txtchsx.setValue(d50_qtxx_MainStore.getAt(index).get('chsx'));

            d50_qtxx_Win.show();
        }
    </script>
</head>
<body>
    <form id="MainForm" runat="server">
    <ext:ResourceManager ID="MainResourceMgr" runat="server" />
    <!--用来导出到Excel的数据源-->
    <ext:Hidden ID="ExcelGridData" runat="server" />
    <!--d50_qtxx表页面主数据元，自动生成-->
    <ext:Store runat="server" ID="d50_qtxx_MainStore" OnRefreshData="d50_qtxx_DataBind" AutoLoad="true">
        <Proxy>
            <ext:PageProxy />
        </Proxy>
        <Reader>
            <ext:JsonReader IDProperty="zyid">
                <Fields>
                    
					<ext:RecordField Name="zyid" />
					<ext:RecordField Name="zybh" />
					<ext:RecordField Name="mzbh" />
					<ext:RecordField Name="zycs" />
					<ext:RecordField Name="dqbm" />
					<ext:RecordField Name="hbh" />
					<ext:RecordField Name="grbm" />
					<ext:RecordField Name="grade" />
					<ext:RecordField Name="rbh" />
					<ext:RecordField Name="dzbm" />
					<ext:RecordField Name="zbh" />
					<ext:RecordField Name="cbh" />
					<ext:RecordField Name="zen" />
					<ext:RecordField Name="cun" />
					<ext:RecordField Name="gldm" />
					<ext:RecordField Name="jgdm" />
					<ext:RecordField Name="jgmc" />
					<ext:RecordField Name="usid" />
					<ext:RecordField Name="brlxid" />
					<ext:RecordField Name="gfbh" />
					<ext:RecordField Name="brxm" />
					<ext:RecordField Name="xbid" />
					<ext:RecordField Name="brnl" />
					<ext:RecordField Name="hzgx" />
					<ext:RecordField Name="csrq" />
					<ext:RecordField Name="yebz" />
					<ext:RecordField Name="hyzkmc" />
					<ext:RecordField Name="hyid" />
					<ext:RecordField Name="csddmc" />
					<ext:RecordField Name="mzmc" />
					<ext:RecordField Name="gjid" />
					<ext:RecordField Name="sfzh" />
					<ext:RecordField Name="gzdw" />
					<ext:RecordField Name="dwdh" />
					<ext:RecordField Name="dwyb" />
					<ext:RecordField Name="hkdz" />
					<ext:RecordField Name="hkyb" />
					<ext:RecordField Name="lxrm" />
					<ext:RecordField Name="gxid" />
					<ext:RecordField Name="lxdz" />
					<ext:RecordField Name="lxdh" />
					<ext:RecordField Name="ryksid" />
					<ext:RecordField Name="ryksmc" />
					<ext:RecordField Name="rybs" />
					<ext:RecordField Name="rycw" />
					<ext:RecordField Name="rysj" />
					<ext:RecordField Name="rybqid" />
					<ext:RecordField Name="zkbqid" />
					<ext:RecordField Name="cyksid" />
					<ext:RecordField Name="cyksmc" />
					<ext:RecordField Name="cybs" />
					<ext:RecordField Name="cycw" />
					<ext:RecordField Name="cysj" />
					<ext:RecordField Name="zyts" />
					<ext:RecordField Name="mzzd" />
					<ext:RecordField Name="ryzd" />
					<ext:RecordField Name="zdmc" />
					<ext:RecordField Name="ryqzsj" />
					<ext:RecordField Name="zyzt" />
					<ext:RecordField Name="yzxs" />
					<ext:RecordField Name="yzzj" />
					<ext:RecordField Name="qfje" />
					<ext:RecordField Name="fdje" />
					<ext:RecordField Name="bsbl" />
					<ext:RecordField Name="hjje" />
					<ext:RecordField Name="kbje" />
					<ext:RecordField Name="mxhj" />
					<ext:RecordField Name="etys" />
					<ext:RecordField Name="mzys" />
					<ext:RecordField Name="hlzt" />
					<ext:RecordField Name="cwbz" />
					<ext:RecordField Name="qfjsbz" />
					<ext:RecordField Name="qfjsje1" />
					<ext:RecordField Name="qfjsje" />
					<ext:RecordField Name="jssj" />
					<ext:RecordField Name="lsh" />
					<ext:RecordField Name="hsx" />
					<ext:RecordField Name="chsx" />

                </Fields>
            </ext:JsonReader>
        </Reader> 
        <BaseParams>
            <ext:Parameter Name="start" Value="0" Mode="Raw">
            </ext:Parameter>
            <ext:Parameter Name="limit" Value="15" Mode="Raw">
            </ext:Parameter>
        </BaseParams>
    </ext:Store>
    <!--d50_qtxx页面主表格-->
    <ext:Viewport ID="MainViewPort" runat="server">
        <Items>
            <ext:FitLayout>
                <Items>
                    <ext:GridPanel ID="d50_qtxx_Grid" Layout="fit" TrackMouseOver="true" runat="server" StoreID="d50_qtxx_MainStore"
                        StripeRows="true" Header="false" Border="false" Collapsible="true">
                        <TopBar>
                            <ext:Toolbar ID="MainToolBar" runat="server">
                                <Items>
                                    <ext:Button ID="BtnAdd" runat="server" Text="添加" Icon="Add">
                                        <Listeners>
                                            <Click Handler="#{d50_qtxx_MainForm}.getForm().reset();#{Hid}.setValue('');#{d50_qtxx_Win}.show();" />
                                        </Listeners>
                                    </ext:Button>
                                    <ext:Button ID="BtnDel" runat="server" Text="删除" Icon="Delete">
                                        <DirectEvents>
                                            <Click OnEvent="BtnDel_Click">
                                                <Confirmation ConfirmRequest="true" Title="确认" Message="确实要删除吗?" />
                                                <EventMask ShowMask="true" Msg="正在删除数据，请等候 ..." />
                                            </Click>
                                        </DirectEvents>
                                        <Listeners>
                                            <Click Handler="if(#{d50_qtxx_Grid}.getSelectionModel().getCount()<=0) {TellAlert('请选择要删除的记录');return false;}" />
                                        </Listeners>
                                    </ext:Button>
                                    <ext:ToolbarSeparator />
                                    <ext:Button ID="BtnReload" runat="server" Text="重新加载" Icon="Reload">
                                        <Listeners>
                                            <Click Handler="#{d50_qtxx_MainStore}.reload();" />
                                        </Listeners>
                                    </ext:Button>
                                    <ext:ToolbarFill />
                                    <ext:Button ID="BtnToExcel" runat="server" Text="To Excel" AutoPostBack="true" OnClick="BtnSaveToExcel"
                                        Icon="PageExcel">
                                        <Listeners>
                                            <Click Handler="#{ExcelGridData}.setValue(Ext.encode(d50_qtxx_Grid.getRowsValues(false)));" />
                                        </Listeners>
                                        <ToolTips>
                                            <ext:ToolTip Title="将当前页内容存储为Excel文件">
                                            </ext:ToolTip>
                                        </ToolTips>
                                    </ext:Button>
                                </Items>
                            </ext:Toolbar>
                        </TopBar>
                        <ColumnModel ID="d50_qtxx_ColumnMode" runat="server">
                            <Columns>
                                <ext:RowNumbererColumn Width="20" />
                                <ext:Column Header="主键" Sortable="true" Hidden="true" DataIndex="zyid" />
                                
								<ext:Column Header="zybh" Sortable="true" DataIndex="zybh" />
								<ext:Column Header="mzbh" Sortable="true" DataIndex="mzbh" />
								<ext:Column Header="zycs" Sortable="true" DataIndex="zycs" />
								<ext:Column Header="dqbm" Sortable="true" DataIndex="dqbm" />
								<ext:Column Header="hbh" Sortable="true" DataIndex="hbh" />
								<ext:Column Header="grbm" Sortable="true" DataIndex="grbm" />
								<ext:Column Header="grade" Sortable="true" DataIndex="grade" />
								<ext:Column Header="rbh" Sortable="true" DataIndex="rbh" />
								<ext:Column Header="dzbm" Sortable="true" DataIndex="dzbm" />
								<ext:Column Header="zbh" Sortable="true" DataIndex="zbh" />
								<ext:Column Header="cbh" Sortable="true" DataIndex="cbh" />
								<ext:Column Header="zen" Sortable="true" DataIndex="zen" />
								<ext:Column Header="cun" Sortable="true" DataIndex="cun" />
								<ext:Column Header="gldm" Sortable="true" DataIndex="gldm" />
								<ext:Column Header="jgdm" Sortable="true" DataIndex="jgdm" />
								<ext:Column Header="jgmc" Sortable="true" DataIndex="jgmc" />
								<ext:Column Header="usid" Sortable="true" DataIndex="usid" />
								<ext:Column Header="brlxid" Sortable="true" DataIndex="brlxid" />
								<ext:Column Header="gfbh" Sortable="true" DataIndex="gfbh" />
								<ext:Column Header="brxm" Sortable="true" DataIndex="brxm" />
								<ext:Column Header="xbid" Sortable="true" DataIndex="xbid" />
								<ext:Column Header="brnl" Sortable="true" DataIndex="brnl" />
								<ext:Column Header="hzgx" Sortable="true" DataIndex="hzgx" />
								<ext:Column Header="csrq" Sortable="true" DataIndex="csrq" />
								<ext:Column Header="yebz" Sortable="true" DataIndex="yebz" />
								<ext:Column Header="hyzkmc" Sortable="true" DataIndex="hyzkmc" />
								<ext:Column Header="hyid" Sortable="true" DataIndex="hyid" />
								<ext:Column Header="csddmc" Sortable="true" DataIndex="csddmc" />
								<ext:Column Header="mzmc" Sortable="true" DataIndex="mzmc" />
								<ext:Column Header="gjid" Sortable="true" DataIndex="gjid" />
								<ext:Column Header="sfzh" Sortable="true" DataIndex="sfzh" />
								<ext:Column Header="gzdw" Sortable="true" DataIndex="gzdw" />
								<ext:Column Header="dwdh" Sortable="true" DataIndex="dwdh" />
								<ext:Column Header="dwyb" Sortable="true" DataIndex="dwyb" />
								<ext:Column Header="hkdz" Sortable="true" DataIndex="hkdz" />
								<ext:Column Header="hkyb" Sortable="true" DataIndex="hkyb" />
								<ext:Column Header="lxrm" Sortable="true" DataIndex="lxrm" />
								<ext:Column Header="gxid" Sortable="true" DataIndex="gxid" />
								<ext:Column Header="lxdz" Sortable="true" DataIndex="lxdz" />
								<ext:Column Header="lxdh" Sortable="true" DataIndex="lxdh" />
								<ext:Column Header="ryksid" Sortable="true" DataIndex="ryksid" />
								<ext:Column Header="ryksmc" Sortable="true" DataIndex="ryksmc" />
								<ext:Column Header="rybs" Sortable="true" DataIndex="rybs" />
								<ext:Column Header="rycw" Sortable="true" DataIndex="rycw" />
								<ext:Column Header="rysj" Sortable="true" DataIndex="rysj" />
								<ext:Column Header="rybqid" Sortable="true" DataIndex="rybqid" />
								<ext:Column Header="zkbqid" Sortable="true" DataIndex="zkbqid" />
								<ext:Column Header="cyksid" Sortable="true" DataIndex="cyksid" />
								<ext:Column Header="cyksmc" Sortable="true" DataIndex="cyksmc" />
								<ext:Column Header="cybs" Sortable="true" DataIndex="cybs" />
								<ext:Column Header="cycw" Sortable="true" DataIndex="cycw" />
								<ext:Column Header="cysj" Sortable="true" DataIndex="cysj" />
								<ext:Column Header="zyts" Sortable="true" DataIndex="zyts" />
								<ext:Column Header="mzzd" Sortable="true" DataIndex="mzzd" />
								<ext:Column Header="ryzd" Sortable="true" DataIndex="ryzd" />
								<ext:Column Header="zdmc" Sortable="true" DataIndex="zdmc" />
								<ext:Column Header="ryqzsj" Sortable="true" DataIndex="ryqzsj" />
								<ext:Column Header="zyzt" Sortable="true" DataIndex="zyzt" />
								<ext:Column Header="yzxs" Sortable="true" DataIndex="yzxs" />
								<ext:Column Header="yzzj" Sortable="true" DataIndex="yzzj" />
								<ext:Column Header="qfje" Sortable="true" DataIndex="qfje" />
								<ext:Column Header="fdje" Sortable="true" DataIndex="fdje" />
								<ext:Column Header="bsbl" Sortable="true" DataIndex="bsbl" />
								<ext:Column Header="hjje" Sortable="true" DataIndex="hjje" />
								<ext:Column Header="kbje" Sortable="true" DataIndex="kbje" />
								<ext:Column Header="mxhj" Sortable="true" DataIndex="mxhj" />
								<ext:Column Header="etys" Sortable="true" DataIndex="etys" />
								<ext:Column Header="mzys" Sortable="true" DataIndex="mzys" />
								<ext:Column Header="hlzt" Sortable="true" DataIndex="hlzt" />
								<ext:Column Header="cwbz" Sortable="true" DataIndex="cwbz" />
								<ext:Column Header="qfjsbz" Sortable="true" DataIndex="qfjsbz" />
								<ext:Column Header="qfjsje1" Sortable="true" DataIndex="qfjsje1" />
								<ext:Column Header="qfjsje" Sortable="true" DataIndex="qfjsje" />
								<ext:Column Header="jssj" Sortable="true" DataIndex="jssj" />
								<ext:Column Header="lsh" Sortable="true" DataIndex="lsh" />
								<ext:Column Header="hsx" Sortable="true" DataIndex="hsx" />
								<ext:Column Header="chsx" Sortable="true" DataIndex="chsx" />

                            </Columns>
                        </ColumnModel>
                        <Listeners>
                            <RowDblClick Handler="SetWinData(rowIndex);" />
                        </Listeners>
                        <Plugins>
                            <ext:GridFilters runat="server" FiltersText="查找" ID="d50_qtxx_Filter">
                                <Filters>
                                    
								<ext:StringFilter DataIndex="zybh" />
								<ext:StringFilter DataIndex="mzbh" />
								<ext:StringFilter DataIndex="dqbm" />
								<ext:StringFilter DataIndex="hbh" />
								<ext:StringFilter DataIndex="grbm" />
								<ext:StringFilter DataIndex="grade" />
								<ext:StringFilter DataIndex="rbh" />
								<ext:StringFilter DataIndex="dzbm" />
								<ext:StringFilter DataIndex="zbh" />
								<ext:StringFilter DataIndex="cbh" />
								<ext:StringFilter DataIndex="zen" />
								<ext:StringFilter DataIndex="cun" />
								<ext:StringFilter DataIndex="gldm" />
								<ext:StringFilter DataIndex="jgdm" />
								<ext:StringFilter DataIndex="jgmc" />
								<ext:StringFilter DataIndex="usid" />
								<ext:StringFilter DataIndex="brlxid" />
								<ext:StringFilter DataIndex="gfbh" />
								<ext:StringFilter DataIndex="brxm" />
								<ext:StringFilter DataIndex="xbid" />
								<ext:StringFilter DataIndex="brnl" />
								<ext:StringFilter DataIndex="hzgx" />
								<ext:StringFilter DataIndex="csrq" />
								<ext:StringFilter DataIndex="yebz" />
								<ext:StringFilter DataIndex="hyzkmc" />
								<ext:StringFilter DataIndex="hyid" />
								<ext:StringFilter DataIndex="csddmc" />
								<ext:StringFilter DataIndex="mzmc" />
								<ext:StringFilter DataIndex="gjid" />
								<ext:StringFilter DataIndex="sfzh" />
								<ext:StringFilter DataIndex="gzdw" />
								<ext:StringFilter DataIndex="dwdh" />
								<ext:StringFilter DataIndex="dwyb" />
								<ext:StringFilter DataIndex="hkdz" />
								<ext:StringFilter DataIndex="hkyb" />
								<ext:StringFilter DataIndex="lxrm" />
								<ext:StringFilter DataIndex="gxid" />
								<ext:StringFilter DataIndex="lxdz" />
								<ext:StringFilter DataIndex="lxdh" />
								<ext:StringFilter DataIndex="ryksid" />
								<ext:StringFilter DataIndex="ryksmc" />
								<ext:StringFilter DataIndex="rybs" />
								<ext:StringFilter DataIndex="rycw" />
								<ext:StringFilter DataIndex="rysj" />
								<ext:StringFilter DataIndex="rybqid" />
								<ext:StringFilter DataIndex="zkbqid" />
								<ext:StringFilter DataIndex="cyksid" />
								<ext:StringFilter DataIndex="cyksmc" />
								<ext:StringFilter DataIndex="cybs" />
								<ext:StringFilter DataIndex="cycw" />
								<ext:StringFilter DataIndex="cysj" />
								<ext:StringFilter DataIndex="mzzd" />
								<ext:StringFilter DataIndex="ryzd" />
								<ext:StringFilter DataIndex="zdmc" />
								<ext:StringFilter DataIndex="ryqzsj" />
								<ext:StringFilter DataIndex="zyzt" />
								<ext:StringFilter DataIndex="yzxs" />
								<ext:StringFilter DataIndex="yzzj" />
								<ext:StringFilter DataIndex="qfje" />
								<ext:StringFilter DataIndex="fdje" />
								<ext:StringFilter DataIndex="bsbl" />
								<ext:StringFilter DataIndex="hjje" />
								<ext:StringFilter DataIndex="kbje" />
								<ext:StringFilter DataIndex="mxhj" />
								<ext:StringFilter DataIndex="etys" />
								<ext:StringFilter DataIndex="mzys" />
								<ext:StringFilter DataIndex="hlzt" />
								<ext:StringFilter DataIndex="cwbz" />
								<ext:StringFilter DataIndex="qfjsbz" />
								<ext:StringFilter DataIndex="qfjsje1" />
								<ext:StringFilter DataIndex="qfjsje" />
								<ext:StringFilter DataIndex="jssj" />
								<ext:StringFilter DataIndex="lsh" />
								<ext:StringFilter DataIndex="hsx" />
								<ext:StringFilter DataIndex="chsx" />

                                </Filters>
                            </ext:GridFilters>
                        </Plugins>
                        <LoadMask ShowMask="true" Msg="正在加载..." />
                        <SelectionModel>
                            <ext:CheckboxSelectionModel ID="CheckBoxGrid" runat="server" />
                        </SelectionModel>
                        <BottomBar>
                            <ext:PagingToolbar ID="PagingToolBar" StoreID="d50_qtxx_MainStore" PageSize="15" runat="server" />
                        </BottomBar>
                    </ext:GridPanel>
                </Items>
            </ext:FitLayout>
        </Items>
    </ext:Viewport>
    
    <!--d50_qtxx表修改，添加主窗体-->
    <ext:Window ID="d50_qtxx_Win" Collapsible="true" Hidden="true" Modal="true"
        Maximizable="true" runat="server" Title="添加/修改记录" Icon="WorldEdit" Width="630" AutoHeight="true"
        Resizable="true">
        <Items>
            <ext:Hidden ID="Hid" runat="server">
            </ext:Hidden>
            <ext:FormPanel ID="d50_qtxx_MainForm" LabelWidth="65" Frame="true" runat="server"
                Border="false" Height="1170" Padding="5" Icon="UserAdd" Layout="Column">
                <Items>
                    <ext:Panel runat="server" Border="false" Header="false" ColumnWidth=".5" Layout="Form">
                        <Items>
                            
							<ext:TextField ID="Txtzybh" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="zybh" />
							<ext:NumberField ID="TxtNumzycs" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="zycs" />
							<ext:TextField ID="Txthbh" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="hbh" />
							<ext:TextField ID="Txtgrade" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="grade" />
							<ext:TextField ID="Txtdzbm" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="dzbm" />
							<ext:TextField ID="Txtcbh" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="cbh" />
							<ext:TextField ID="Txtcun" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="cun" />
							<ext:TextField ID="Txtjgdm" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="jgdm" />
							<ext:TextField ID="Txtusid" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="usid" />
							<ext:TextField ID="Txtgfbh" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="gfbh" />
							<ext:TextField ID="Txtxbid" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="xbid" />
							<ext:TextField ID="Txthzgx" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="hzgx" />
							<ext:TextField ID="Txtyebz" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="yebz" />
							<ext:TextField ID="Txthyid" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="hyid" />
							<ext:TextField ID="Txtmzmc" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="mzmc" />
							<ext:TextField ID="Txtsfzh" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="sfzh" />
							<ext:TextField ID="Txtdwdh" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="dwdh" />
							<ext:TextField ID="Txthkdz" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="hkdz" />
							<ext:TextField ID="Txtlxrm" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="lxrm" />
							<ext:TextField ID="Txtlxdz" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="lxdz" />
							<ext:TextField ID="Txtryksid" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="ryksid" />
							<ext:TextField ID="Txtrybs" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="rybs" />
							<ext:TextField ID="Txtrysj" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="rysj" />
							<ext:TextField ID="Txtzkbqid" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="zkbqid" />
							<ext:TextField ID="Txtcyksmc" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="cyksmc" />
							<ext:TextField ID="Txtcycw" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="cycw" />
							<ext:NumberField ID="TxtNumzyts" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="zyts" />
							<ext:TextField ID="Txtryzd" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="ryzd" />
							<ext:TextField ID="Txtryqzsj" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="ryqzsj" />
							<ext:TextField ID="Txtyzxs" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="yzxs" />
							<ext:TextField ID="Txtqfje" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="qfje" />
							<ext:TextField ID="Txtbsbl" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="bsbl" />
							<ext:TextField ID="Txtkbje" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="kbje" />
							<ext:TextField ID="Txtetys" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="etys" />
							<ext:TextField ID="Txthlzt" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="hlzt" />
							<ext:TextField ID="Txtqfjsbz" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="qfjsbz" />
							<ext:TextField ID="Txtqfjsje" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="qfjsje" />
							<ext:TextField ID="Txtlsh" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="lsh" />
							<ext:TextField ID="Txtchsx" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="chsx" />

                        </Items>
                    </ext:Panel>
                    <ext:Panel runat="server" Border="false" Header="false" ColumnWidth=".5" Layout="Form">
                        <Items> 
                            
							<ext:TextField ID="Txtmzbh" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="mzbh" />
							<ext:TextField ID="Txtdqbm" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="dqbm" />
							<ext:TextField ID="Txtgrbm" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="grbm" />
							<ext:TextField ID="Txtrbh" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="rbh" />
							<ext:TextField ID="Txtzbh" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="zbh" />
							<ext:TextField ID="Txtzen" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="zen" />
							<ext:TextField ID="Txtgldm" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="gldm" />
							<ext:TextField ID="Txtjgmc" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="jgmc" />
							<ext:TextField ID="Txtbrlxid" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="brlxid" />
							<ext:TextField ID="Txtbrxm" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="brxm" />
							<ext:TextField ID="Txtbrnl" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="brnl" />
							<ext:TextField ID="Txtcsrq" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="csrq" />
							<ext:TextField ID="Txthyzkmc" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="hyzkmc" />
							<ext:TextField ID="Txtcsddmc" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="csddmc" />
							<ext:TextField ID="Txtgjid" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="gjid" />
							<ext:TextField ID="Txtgzdw" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="gzdw" />
							<ext:TextField ID="Txtdwyb" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="dwyb" />
							<ext:TextField ID="Txthkyb" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="hkyb" />
							<ext:TextField ID="Txtgxid" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="gxid" />
							<ext:TextField ID="Txtlxdh" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="lxdh" />
							<ext:TextField ID="Txtryksmc" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="ryksmc" />
							<ext:TextField ID="Txtrycw" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="rycw" />
							<ext:TextField ID="Txtrybqid" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="rybqid" />
							<ext:TextField ID="Txtcyksid" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="cyksid" />
							<ext:TextField ID="Txtcybs" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="cybs" />
							<ext:TextField ID="Txtcysj" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="cysj" />
							<ext:TextField ID="Txtmzzd" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="mzzd" />
							<ext:TextField ID="Txtzdmc" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="zdmc" />
							<ext:TextField ID="Txtzyzt" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="zyzt" />
							<ext:TextField ID="Txtyzzj" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="yzzj" />
							<ext:TextField ID="Txtfdje" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="fdje" />
							<ext:TextField ID="Txthjje" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="hjje" />
							<ext:TextField ID="Txtmxhj" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="mxhj" />
							<ext:TextField ID="Txtmzys" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="mzys" />
							<ext:TextField ID="Txtcwbz" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="cwbz" />
							<ext:TextField ID="Txtqfjsje1" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="qfjsje1" />
							<ext:TextField ID="Txtjssj" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="jssj" />
							<ext:TextField ID="Txthsx" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="hsx" />

                        </Items>
                    </ext:Panel>
                </Items>
            </ext:FormPanel>
        </Items>
        <Buttons> 
            <ext:Button Text="提交" ID="BtnSave" runat="server" Icon="Disk">
                <DirectEvents>
                    <Click OnEvent="BtnSave_Click">
                        <EventMask ShowMask="true" Msg="正在提交，请等候 ..."  />
                    </Click>
                </DirectEvents>
                <Listeners>
                    <Click Handler="if (#{d50_qtxx_MainForm}.getForm().isValid()) {;}else{Ext.Msg.show({icon: Ext.MessageBox.ERROR, msg: '您填写的信息不正确，请您确认！', buttons:Ext.Msg.OK});return false;}" />
                </Listeners>
            </ext:Button>
            <ext:Button Text="取消" ID="BtnConcel" Icon="Delete">
                <Listeners>
                    <Click Handler="#{d50_qtxx_Win}.hide();" />
                </Listeners>
            </ext:Button>
        </Buttons>
    </ext:Window>
    </form>
</body>
</html>
